Is there any way to have the menu render without the main CSS styles for background, padding, etc. I have these set in other areas, but I haven't been able to find a way to turn these off yet.

CommentFileSizeAuthor
#4 yui err.png22.67 KBsharique

Comments

bakyildiz’s picture

Status: Active » Closed (works as designed)

yahoo yui requires the menu.css file. I think you can not turn off this settings, but may be you can override them with an other css file.

dellis’s picture

How can I modify the module code/css code to include my own style sheet? The colors and sizes that came as a default aren't what I'd like to see. I'm using litejazz and for some reason, the "submenu" that pops up when mouse-over the main menu, the background of those submenus is translucent? Any ideas on how I could customize and/or use my own version of Menu.css would be greatly appreciated. I'm just not sure it is clear how to modify this stuff...? thanks.

bakyildiz’s picture

Hi dellis,

menu.css is hosted by yahoo. So you need to override it by adding your style information into your page.tpl.php file wihtin the style tag.

For example to change the color of the menu items to red just add the following lines into your page.tpl.php file.

<style type="text/css">
       .yui-skin-sam .yuimenuitemlabel{color:RED;}
</style>
sharique’s picture

Version: 5.x-1.3 » 5.x-1.4-1
Component: Miscellaneous » User interface
Category: support » bug
StatusFileSize
new22.67 KB

First thanks for creating such a nice menu. This is the best drop down menu I have seen for drupal.

It would be better if there is documentation for customisation.

There are some problems. I have attached screen shots for better understanding.

It is going in background with nice menu and Jstabs.
-------
Sharique

bakyildiz’s picture

Assigned: Unassigned » bakyildiz
Status: Closed (works as designed) » Active

Thank you. I face also with the same problem. Somehow the menu is staying in background. I will check and try to fix it.

bakyildiz’s picture

Version: 5.x-1.4-1 » 5.x-1.4-5

To solve the "going in background" problem just give a style information where you have add the ... in page.tpl.php file. Here is it;

<div style="position: relative; z-index: 100;">
     <?php print html_menu(variable_get('yuimenu_root','1') ); ?>
</div>

Please download 1.4-5 version to test it.

bakyildiz’s picture

Version: 5.x-1.4-5 » 5.x-2.1
Status: Active » Closed (works as designed)